# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         6.2
# Description:
# Author:       dell
# Date:         2019/ajaxdata.json/31
#-------------------------------------------------------------------------------
dict ={}
dict[20] = 'Bill'
dict['Mike'] = {'age':30 ,"salay":3000}
dict[(12,'Mike',True)] = 'hello'
print(dict)

IDEs = {
    'eclipse':
    {
    'language':['java','python','javascript','PHP'],
    'organization':'Eclipse基金会'
    },
    'visualstudio':
    {
     'languages':['C#','C++','VB.NET'],
     'organization':'微软'
     },
    'webstorm':
    {
     'languages':['JaveScript'],
     'organization': 'JetBrains'

    }
}
labels = {
    'languages':'支持的编程语言',
    'organization':'所述的机构'
}
IDE =  input('请输入IDE的名字')
findIDE =IDE.replace(' ','').lower()
print(findIDE)
choice = input('要查询的IDE支持的编程语言(lang)还是所属机构(org)')
if choice == 'lang': key = 'languages'
if choice == 'org': key = 'organization'
if findIDE in IDEs:
    print('{}{}是{}.'.format(IDE,labels[key],IDEs[findIDE][key]))
